package com.woniu.service;

import com.woniu.dto.HisNursingDto;
import com.woniu.dto.PageDTO;
import com.woniu.model.HisNursing;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.param.HisNursingAddParam;
import com.woniu.param.HisNursingParam;
import com.woniu.util.Result;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-11-11
 */
@Service
public interface IHisNursingService extends IService<HisNursing> {
    public Result<PageDTO<HisNursingDto>> getAllHisNursing();
    public Result<HisNursingDto> addHisNursing(HisNursingAddParam hisNursingAddParam);
    public Result<Boolean> deleteHisNursingById(ArrayList<Integer> id);
    public Result<HisNursingDto> updateHisNursing(HisNursingParam hisNursingParan);
    public Result<PageDTO<HisNursingDto>> getHisNursingBy(HisNursingParam hisNursingParam);
}
